package com.osdp.gateway.config;

import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.Configuration;

/**
 * 路由发现配置
 */
@Configuration
@EnableConfigurationProperties(OsdpGatewayProperties.class)
@ConditionalOnProperty(prefix = "osdp.gateway.discovery", name = "enabled", havingValue = "true")
public class GatewayDiscoveryConfig {

}
